package com.peng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class OpenController {

    //最新公开课
    @GetMapping("/open-course/new-openCourse")
    public String toOpen_courseNew_openCourse() {
        return "open-course/new-openCourse";
    }

    //名师推荐
    @GetMapping("/open-course/rf-teachers")
    public String toOpen_courseRf_teachers() {
        return "open-course/rf-teachers";
    }

    //公开课详情
    @GetMapping("/open-course/course-details")
    public String toOpen_course_course_details() {
        return "open-course/course-details";
    }
}
